package com.yun.baymax.bean.adapter;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import cn.bmob.v3.BmobObject;

/**
 * Created by Administrator on 2016/11/15.
 */
@Entity
public class NoteInfo extends BmobObject {
    public String author;
    @Id(autoincrement = true)
    private Long id;
    private String title;
    private String content;
    private int color;

    public NoteInfo() {
    }

    public NoteInfo(String author, int color) {
        this.author = author;
        this.color = color;
    }

    @Generated(hash = 1072511249)
    public NoteInfo(String author, Long id, String title, String content,
                    int color) {
        this.author = author;
        this.id = id;
        this.title = title;
        this.content = content;
        this.color = color;
    }

    public String getAuthor() {
        return this.author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getColor() {
        return this.color;
    }

    public void setColor(int color) {
        this.color = color;
    }

}
